//BCD码转ASCII码
module bcd2ascii(
	input [3:0] d0,d1,d2,d3,d4,d5,d6,d7,
	output [7:0] asc_d0,asc_d1,asc_d2,asc_d3,asc_d4,asc_d5,asc_d6,asc_d7
);
assign asc_d0 = d0+8'h30;
assign asc_d1 = d1+8'h30;
assign asc_d2 = d2+8'h30;
assign asc_d3 = d3+8'h30;
assign asc_d4 = d4+8'h30;
assign asc_d5 = d5+8'h30;
assign asc_d6 = d6+8'h30;
assign asc_d7 = d7+8'h30;
endmodule 